package com.awccis.admin.service;

import com.awccis.admin.model.adver.AdverCombineBean;
import com.awccis.admin.model.adver.AdverInfoBean;
import com.awccis.admin.model.adver.CurrentLogoPathBean;

import java.util.HashMap;
import java.util.List;

/**
 * @author: txp
 * @date: 2018/5/7 on 下午9:06
 * @since: 1.0
 * @description:
 **/
public interface AdverService {

    /**
     * 添加广告信息
     * @param adverCombineBean
     * @return 执行结果
     */
    boolean insertAdverInfo(AdverCombineBean adverCombineBean);

    /**
     * 查询所有广告信息
     * @return 所有广告信息的列表
     */
    List<AdverInfoBean> selectAllAdverInfo();

    /**
     * 删除广告信息
     * @param hashMap adverId， logoId
     * @return 执行结果
     */
    boolean deleteAdverInfo(HashMap<String, Integer> hashMap);

    /**
     * 更改九张图片的的当前logo位置
     * @param list
     * @return
     */
    boolean updateNowLogoPath(List<CurrentLogoPathBean> list);
}
